<script>
$(document).ready( function(){
    $('#head').jqFancyTransitions({ 
        effect: '', // wave, zipper, curtain
        width: 630, // width of panel
        height: 397, // height of panel
        strips: 20, // number of strips
        delay: 5000, // delay between images in ms
        stripDelay: 50, // delay beetwen strips in ms
        titleOpacity: 0.7, // opacity of title
        titleSpeed: 1000, // speed of title appereance in ms
        position: 'alternate', // top, bottom, alternate, curtain
        direction: 'fountainAlternate', // left, right, alternate, random, fountain, fountainAlternate
        navigation:true, // prev and next navigation buttons
        links: false // show images as links
    });
});
</script>
<style>
    .ft-prev, .ft-next {
        background-color: #000;
        padding: 0 10px;
    }
</style>
<article class="grid_16">
	<div class="wrapper">
        <div class="flash">
            <div id="head"> 
            <?php foreach($data as $value) : ?>
                    <?php if($value['status']==1) :?>   
                         <img src="<?php echo Yii::app()->createAbsoluteUrl('themes/fsbo/images/'.$value['image']) ?>" alt="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua." />
                        <!-- <img src="http://xemanh.net/images/people/beautiful/beautiful_143.jpg" alt="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua." />
                         <img src="http://xemanh.net/images/people/beautiful/beautiful_144.jpg" alt="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."/>-->
                     <?php endif; ?>
            <?php endforeach; ?> 
            </div>
            <!--<script type="text/javascript">
                var fo = new FlashObject("flash/header_cs3.swf?xmlUrl=flash/xml/", "head", "100%", "398", "10.0.0", "");
                fo.addParam("quality", "high");
                fo.addParam("wmode", "transparent");
                fo.addParam("scale", "noscale");
                fo.write("head");
            </script>-->     
        </div>
    </div>
</article>